package com.bynk.bynk_demo.service;

import com.bynk.bynk_demo.model.BookType;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface TypeService {
    /*初始化,获取所有类型*/
    public List<BookType> getAllType();

    /*增加一个类型*/
    public Boolean addType(BookType bookType);
}
